package tech.aistar.corejava.day05.HomeWork.Bank;


/**
 * Created by 李雨昂 on 2019/7/20.
 */
public class Operation {
    //存款
    public static void depoist(Account acc,double money){
        acc.setAccBalance(acc.getAccBalance() - money);
    }

    //取款
    public static void withdraw(Account acc,double money){
        acc.setAccBalance(acc.getAccBalance() + money);

    }

}
